using RxjhServer.DbClss;
using RxjhServer.HelperTools;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

namespace RxjhServer
{
	public class UserListbot : Form
	{
		private int reside2 = 0;

		private ContextMenu contextMenu1;

		private MenuItem menuItem1;

		private MenuItem menuItem2;

		private MenuItem menuItem3;

		private MenuItem menuItem4;

		private MenuItem menuItem5;

		private MenuItem menuItem6;

		private TextBox textBox1;

		private TextBox textBox2;

		private TextBox textBox3;

		private Label label1;

		private Label label2;

		private Label label3;

		private Button button1;

		private CheckBox checkBox1;

		private CheckBox checkBox2;

		private CheckBox checkBox3;

		private TextBox textBox4;

		private Button button2;

		private Label label4;

		private Label label5;

		private Label label6;

		private Button button5;

		private TextBox textBox5;

		private CheckBox checkBox4;

		private CheckBox checkBox5;

		private Button button3;

		private ComboBox comboBox1;

		private Button button4;

		private NoFlashListView listView1;

		private ColumnHeader columnHeader1;

		private ColumnHeader columnHeader2;

		private ColumnHeader columnHeader3;

		private ColumnHeader columnHeader4;

		private ColumnHeader columnHeader5;

		private ColumnHeader columnHeader6;

		private ColumnHeader columnHeader7;

		private ColumnHeader columnHeader8;

		private ColumnHeader columnHeader9;

		private ColumnHeader columnHeader10;

		private ColumnHeader columnHeader11;

		private ColumnHeader columnHeader12;

		private ColumnHeader columnHeader13;

		private Button button6;

		private Button button7;

		private Button button8;

		private Button button9;

		private Button button10;

		public UserListbot()
		{
			InitializeComponent();
		}

		private void InitData()
		{
			try
			{
				listView1.Items.Clear();
				foreach (Players value in World.allConnectedChars.Values)
				{
					if (value != null)
					{
						string[] array = new string[13];
						try
						{
							array[0] = value.人物全服ID.ToString();
							array[1] = value.Userid;
							array[2] = value.UserName;
							if (value.是否人物离线挂机)
							{
								array[3] = "离线商店";
							}
							else
							{
								array[3] = "在线";
							}
							array[4] = value.人物_HP.ToString();
							array[5] = value.Player_Level.ToString();
							array[6] = value.人物坐标_X.ToString();
							array[7] = value.人物坐标_Y.ToString();
							array[8] = value.人物坐标_地图.ToString();
							if (value.Client != null)
							{
								array[9] = value.Client.ToString();
							}
							array[10] = value.内网ip;
							array[11] = value.Usermac;
							array[12] = value.Client.dwStop.ToString();
						}
						catch
						{
							array[0] = value.人物全服ID.ToString();
							array[1] = value.Userid;
							array[2] = value.UserName;
						}
						listView1.Items.Insert(listView1.Items.Count, new ListViewItem(array));
					}
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "人物列表出错" + ex.Message);
			}
		}

		private void UserListbot_Load(object sender, EventArgs e)
		{
			listView1.ListViewItemSorter = new ListViewColumnSorter();
			listView1.ColumnClick += ListViewHelper.ListView_ColumnClick;
			InitData();
		}

		private void menuItem1_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count <= 0)
			{
				return;
			}
			string text = listView1.SelectedItems[0].SubItems[2].Text;
			Players players = World.检查玩家name(text);
			if (players != null)
			{
				if (players.Client.挂机)
				{
					players.OpClient(1);
					players.Client.DisposedOffline();
				}
				else
				{
					players.OpClient(1);
					players.Client.Dispose();
				}
			}
		}

		private void menuItem2_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count <= 0)
			{
				return;
			}
			string text = listView1.SelectedItems[0].SubItems[1].Text;
			Players players = World.检查玩家(text);
			if (players != null)
			{
				if (players.Client.挂机)
				{
					players.OpClient(1);
					players.Client.DisposedOffline();
				}
				else
				{
					players.OpClient(1);
					players.Client.Dispose();
				}
			}
		}

		private void menuItem3_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count > 0)
			{
				string text = listView1.SelectedItems[0].SubItems[5].Text;
				string sqlCommand = " Insert into TBL_BANED values ( '" + text + "')";
				DBA.ExeSqlCommand(sqlCommand, "rxjhaccount");
			}
		}

		private void menuItem4_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count > 0)
			{
				string text = listView1.SelectedItems[0].SubItems[1].Text;
				Form1.WriteLine(1, "管理员手动封号1[" + text + "]");
				World.全局提示("封-号-提-示", 10, "ID[" + text + "]被管理员封号 原因32");
				string sqlCommand = "UPDATE TBL_ACCOUNT SET FLD_ZT=1 WHERE FLD_ID='" + text + "'";
				DBA.ExeSqlCommand(sqlCommand, "rxjhaccount");
			}
		}

		private void menuItem5_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count > 0)
			{
				string text = listView1.SelectedItems[0].SubItems[2].Text;
				UserIdList userIdList = new UserIdList();
				userIdList.username = text;
				userIdList.ShowDialog();
			}
		}

		private void menuItem6_Click(object sender, EventArgs e)
		{
			if (listView1.SelectedItems.Count > 0)
			{
				string text = listView1.SelectedItems[0].SubItems[2].Text;
				sendmsg sendmsg = new sendmsg();
				sendmsg.SetName(text);
				sendmsg.ShowDialog();
			}
		}

		private void listView1_SelectedIndexChanged(object sender, EventArgs e)
		{
			try
			{
				if (listView1.SelectedIndices != null && listView1.SelectedIndices.Count > 0)
				{
					ListView.SelectedIndexCollection selectedIndices = listView1.SelectedIndices;
					Text = listView1.SelectedItems[0].SubItems[1].Text;
					foreach (Players value in World.allConnectedChars.Values)
					{
						if (value.Userid == Text)
						{
							textBox1.Text = value.人物坐标_地图.ToString();
							textBox2.Text = ((int)value.人物坐标_X).ToString();
							textBox3.Text = ((int)value.人物坐标_Y).ToString();
							if (value.自动喊话 != "")
							{
								string[] array = value.自动喊话.Split(';');
								textBox4.Text = array[1];
							}
							textBox5.Text = value.离线挂机武功ID.ToString();
							if (value.自动喊话开关 == 1)
							{
								checkBox3.Checked = true;
							}
							else
							{
								checkBox3.Checked = false;
							}
							if (value.自动回血开关 == 1)
							{
								checkBox2.Checked = true;
							}
							else
							{
								checkBox2.Checked = false;
							}
							if (value.离线挂机打怪模式 == 1)
							{
								checkBox1.Checked = true;
							}
							else
							{
								checkBox1.Checked = false;
							}
							if (value.自动拾取物品 == 1)
							{
								checkBox4.Checked = true;
							}
							else
							{
								checkBox4.Checked = false;
							}
							if (value.自动出售物品 == 1)
							{
								checkBox5.Checked = true;
							}
							else
							{
								checkBox5.Checked = false;
							}
						}
					}
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "人物列表出错" + ex.Message);
			}
		}

		private void button1_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				players.移动(Convert.ToSingle(textBox2.Text), Convert.ToSingle(textBox3.Text), 15f, int.Parse(textBox1.Text));
				players.自动挂机地图 = int.Parse(textBox1.Text);
				players.自动挂机坐标X = int.Parse(textBox2.Text);
				players.自动挂机坐标Y = int.Parse(textBox3.Text);
				label5.Text = "移动成功";
			}
			else
			{
				label5.Text = "没有找到玩家5";
			}
		}

		private void button2_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				players.自动喊话 = reside2.ToString() + ";" + textBox4.Text;
				label5.Text = "修改成功";
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void checkBox3_CheckedChanged(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox3.Checked = false;
				label5.Text = "没有找到玩家3";
			}
			else if (checkBox3.Checked)
			{
				players.自动喊话开关 = 1;
				label5.Text = "喊话开关已打开";
			}
			else
			{
				players.自动喊话开关 = 0;
				label5.Text = "喊话开关已关闭";
			}
		}

		private void checkBox2_CheckedChanged(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox2.Checked = false;
				label5.Text = "没有找到玩家2";
			}
			else if (checkBox2.Checked)
			{
				players.自动回血开关 = 1;
				label5.Text = "回血开关已打开";
			}
			else
			{
				players.自动回血开关 = 0;
				label5.Text = "回血开关已关闭";
			}
		}

		private void checkBox1_CheckedChanged(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox1.Checked = false;
				label5.Text = "没有找到玩家1";
			}
			else if (checkBox1.Checked)
			{
				players.离线挂机打怪模式 = 1;
				players.自动挂机地图 = players.人物坐标_地图;
				players.自动挂机坐标X = (int)players.人物坐标_X;
				players.自动挂机坐标Y = (int)players.人物坐标_Y;
				label5.Text = "攻击开关已打开";
			}
			else
			{
				players.离线挂机打怪模式 = 0;
				label5.Text = "攻击开关已关闭";
			}
		}

		private void button3_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox1.Checked = false;
				label5.Text = "没有找到玩家11";
			}
		}

		private void button5_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				if (players.个人商店 != null && !players.进店中)
				{
					players.系统提示("请先关闭个人商店!", 10, "提示");
					return;
				}
				if (players.组队id != 0)
				{
					players.系统提示("请先退出组队才能开启智能挂!", 10, "提示");
					return;
				}
				if (players.打开仓库中)
				{
					players.系统提示("请先关闭窗口才能开启智能挂!", 10, "提示");
					return;
				}
				players.保存元宝数据();
				players.保存人物的数据();
				players.自动打怪监视器 = DateTime.Now.AddMilliseconds(-12000.0);
				players.自动挂机监视时间 = 0;
				players.自动补给 = 1;
				players.自动拾取物品 = 1;
				players.自动出售物品 = 1;
				players.离线挂机打怪模式 = 1;
				World.离线打怪位置++;
				players.离线打怪位置标示 = World.离线打怪位置;
				Form1.WriteLine(10, "假人离线[" + players.UserName + "] 移动位置[" + players.离线打怪位置标示.ToString() + "]");
				players.离线挂机();
			}
			else
			{
				label5.Text = "没有找到玩家4|" + players.装备栏包裹[0].FLD_RESIDE2.ToString();
			}
		}

		private void checkBox4_CheckedChanged(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox4.Checked = false;
				label5.Text = "没有找到玩家5";
			}
			else if (checkBox4.Checked)
			{
				players.自动拾取物品 = 1;
				label5.Text = "自动拾取开关已打开";
			}
			else
			{
				players.自动拾取物品 = 0;
				label5.Text = "自动拾取开关已关闭";
			}
		}

		private void checkBox5_CheckedChanged(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players == null)
			{
				checkBox5.Checked = false;
				label5.Text = "没有找到玩家5";
			}
			else if (checkBox5.Checked)
			{
				players.自动出售物品 = 1;
				label5.Text = "自动出售开关已打开";
			}
			else
			{
				players.自动出售物品 = 0;
				label5.Text = "自动出售开关已关闭";
			}
		}

		private void button3_Click_1(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				players.发送消息(textBox4.Text, reside2, players.UserName);
				textBox4.Text = "";
				label5.Text = "发送成功";
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
		{
			string text = comboBox1.Text;
			string a = text;
			if (!(a == "狮子吼"))
			{
				if (!(a == "呐喊"))
				{
					if (a == "普通")
					{
						reside2 = 0;
					}
				}
				else
				{
					reside2 = 1;
				}
			}
			else
			{
				reside2 = 50;
			}
		}

		private void button4_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				players.人物移动(int.Parse(textBox2.Text), int.Parse(textBox3.Text));
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void button6_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				for (int i = 0; i < 36; i++)
				{
					int num = BitConverter.ToInt32(players.装备栏包裹[i].物品ID, 0);
					if (num == 0)
					{
						continue;
					}
					ItmeClass itmeClass = World.Itme[num];
					int num2 = 999;
					switch (itmeClass.FLD_RESIDE2)
					{
					case 1:
						num2 = 0;
						break;
					case 2:
						num2 = ((players.装备栏已穿装备[1].Get物品ID == 0) ? 1 : 2);
						break;
					case 4:
						num2 = 3;
						break;
					case 5:
						num2 = 4;
						break;
					case 6:
						num2 = 5;
						break;
					case 7:
						num2 = 6;
						break;
					case 8:
						num2 = ((players.装备栏已穿装备[7].Get物品ID != 0) ? 8 : 7);
						break;
					case 10:
						num2 = ((players.装备栏已穿装备[9].Get物品ID != 0) ? 10 : 9);
						break;
					case 12:
						num2 = 11;
						break;
					case 13:
						num2 = 12;
						break;
					case 14:
						if (players.Player_Job == 4)
						{
							num2 = 13;
						}
						break;
					}
					if (num2 != 999 && players.装备栏已穿装备[num2].Get物品ID == 0)
					{
						players.装备栏已穿装备[num2].物品_byte = players.装备栏包裹[i].物品_byte;
						players.装备栏包裹[i].物品_byte = new byte[37];
						players.更换装备位置(1, i, 0, num2, players.装备栏已穿装备[num2].物品_byte, BitConverter.ToInt32(players.装备栏已穿装备[num2].物品数量, 0));
					}
				}
				players.更新装备效果();
				players.计算人物装备数据();
				players.更新武功和状态();
				players.更新金钱和负重();
				players.更新HP_MP_SP();
				label5.Text = "穿戴完毕";
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void button7_Click(object sender, EventArgs e)
		{
			InitData();
		}

		private void button8_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				for (int i = 0; i < 15; i++)
				{
					if (BitConverter.ToInt32(players.装备栏已穿装备[i].物品ID, 0) != 0)
					{
						int num = players.得到包裹空位(players);
						if (num != -1 && i != 14)
						{
							players.装备栏包裹[num].物品_byte = players.装备栏已穿装备[i].物品_byte;
							players.装备栏已穿装备[i].物品_byte = new byte[37];
							players.更换装备位置(0, i, 1, num, players.装备栏包裹[num].物品_byte, BitConverter.ToInt32(players.装备栏包裹[num].物品数量, 0));
						}
					}
				}
				players.更新装备效果();
				players.计算人物装备数据();
				players.更新武功和状态();
				players.更新金钱和负重();
				players.更新HP_MP_SP();
				label5.Text = "脱装备完毕";
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void button9_Click(object sender, EventArgs e)
		{
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				for (int i = 0; i < 36; i++)
				{
					if (!players.装备栏包裹[i].物品绑定)
					{
						players.装备栏包裹[i].物品_byte = new byte[73];
					}
				}
				players.初始话装备篮包裹();
				label5.Text = "清理完毕";
			}
			else
			{
				label5.Text = "没有找到玩家4";
			}
		}

		private void listView1_MouseClick(object sender, MouseEventArgs e)
		{
			listView1.MultiSelect = false;
			if (e.Button == MouseButtons.Right)
			{
				Point pos = new Point(e.X, e.Y);
				contextMenu1.Show(listView1, pos);
			}
		}

		private void button10_Click(object sender, EventArgs e)
		{
			byte[] array = Converter.hexStringToByte(textBox4.Text);
			Players players = World.检查玩家(Text);
			if (players != null)
			{
				Buffer.BlockCopy(BitConverter.GetBytes(players.人物全服ID), 0, array, 5, 2);
				players.ManagePacket(array, array.Length);
			}
		}

		private void button10_Click_1(object sender, EventArgs e)
		{
			Form14 form = new Form14();
			form.StartPosition = FormStartPosition.CenterParent;
			form.ShowDialog();
		}

		private void InitializeComponent()
		{
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RxjhServer.UserListbot));
			contextMenu1 = new System.Windows.Forms.ContextMenu();
			menuItem1 = new System.Windows.Forms.MenuItem();
			menuItem2 = new System.Windows.Forms.MenuItem();
			menuItem3 = new System.Windows.Forms.MenuItem();
			menuItem4 = new System.Windows.Forms.MenuItem();
			menuItem5 = new System.Windows.Forms.MenuItem();
			menuItem6 = new System.Windows.Forms.MenuItem();
			textBox1 = new System.Windows.Forms.TextBox();
			textBox2 = new System.Windows.Forms.TextBox();
			textBox3 = new System.Windows.Forms.TextBox();
			label1 = new System.Windows.Forms.Label();
			label2 = new System.Windows.Forms.Label();
			label3 = new System.Windows.Forms.Label();
			button1 = new System.Windows.Forms.Button();
			checkBox1 = new System.Windows.Forms.CheckBox();
			checkBox2 = new System.Windows.Forms.CheckBox();
			checkBox3 = new System.Windows.Forms.CheckBox();
			textBox4 = new System.Windows.Forms.TextBox();
			button2 = new System.Windows.Forms.Button();
			label4 = new System.Windows.Forms.Label();
			label5 = new System.Windows.Forms.Label();
			label6 = new System.Windows.Forms.Label();
			button5 = new System.Windows.Forms.Button();
			textBox5 = new System.Windows.Forms.TextBox();
			checkBox4 = new System.Windows.Forms.CheckBox();
			checkBox5 = new System.Windows.Forms.CheckBox();
			button3 = new System.Windows.Forms.Button();
			comboBox1 = new System.Windows.Forms.ComboBox();
			button4 = new System.Windows.Forms.Button();
			button6 = new System.Windows.Forms.Button();
			button7 = new System.Windows.Forms.Button();
			button8 = new System.Windows.Forms.Button();
			button9 = new System.Windows.Forms.Button();
			button10 = new System.Windows.Forms.Button();
			listView1 = new RxjhServer.NoFlashListView();
			columnHeader1 = new System.Windows.Forms.ColumnHeader();
			columnHeader2 = new System.Windows.Forms.ColumnHeader();
			columnHeader3 = new System.Windows.Forms.ColumnHeader();
			columnHeader4 = new System.Windows.Forms.ColumnHeader();
			columnHeader5 = new System.Windows.Forms.ColumnHeader();
			columnHeader6 = new System.Windows.Forms.ColumnHeader();
			columnHeader7 = new System.Windows.Forms.ColumnHeader();
			columnHeader8 = new System.Windows.Forms.ColumnHeader();
			columnHeader9 = new System.Windows.Forms.ColumnHeader();
			columnHeader10 = new System.Windows.Forms.ColumnHeader();
			columnHeader11 = new System.Windows.Forms.ColumnHeader();
			columnHeader12 = new System.Windows.Forms.ColumnHeader();
			columnHeader13 = new System.Windows.Forms.ColumnHeader();
			SuspendLayout();
			contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[6]
			{
				menuItem1,
				menuItem2,
				menuItem3,
				menuItem4,
				menuItem5,
				menuItem6
			});
			menuItem1.Index = 0;
			menuItem1.Text = "退人";
			menuItem1.Click += new System.EventHandler(menuItem1_Click);
			menuItem2.Index = 1;
			menuItem2.Text = "退人Id";
			menuItem2.Click += new System.EventHandler(menuItem2_Click);
			menuItem3.Index = 2;
			menuItem3.Text = "封IP";
			menuItem3.Click += new System.EventHandler(menuItem3_Click);
			menuItem4.Index = 3;
			menuItem4.Text = "封Id";
			menuItem4.Click += new System.EventHandler(menuItem4_Click);
			menuItem5.Index = 4;
			menuItem5.Text = "查数据";
			menuItem5.Click += new System.EventHandler(menuItem5_Click);
			menuItem6.Index = 5;
			menuItem6.Text = "发消息";
			menuItem6.Click += new System.EventHandler(menuItem6_Click);
			textBox1.Location = new System.Drawing.Point(520, 32);
			textBox1.Name = "textBox1";
			textBox1.Size = new System.Drawing.Size(60, 21);
			textBox1.TabIndex = 2;
			textBox2.Location = new System.Drawing.Point(586, 32);
			textBox2.Name = "textBox2";
			textBox2.Size = new System.Drawing.Size(60, 21);
			textBox2.TabIndex = 3;
			textBox3.Location = new System.Drawing.Point(652, 32);
			textBox3.Name = "textBox3";
			textBox3.Size = new System.Drawing.Size(60, 21);
			textBox3.TabIndex = 4;
			label1.AutoSize = true;
			label1.Location = new System.Drawing.Point(520, 12);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(41, 12);
			label1.TabIndex = 5;
			label1.Text = "地图id";
			label2.AutoSize = true;
			label2.Location = new System.Drawing.Point(584, 9);
			label2.Name = "label2";
			label2.Size = new System.Drawing.Size(35, 12);
			label2.TabIndex = 6;
			label2.Text = "坐标x";
			label3.AutoSize = true;
			label3.Location = new System.Drawing.Point(650, 12);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(35, 12);
			label3.TabIndex = 7;
			label3.Text = "坐标y";
			button1.Location = new System.Drawing.Point(522, 59);
			button1.Name = "button1";
			button1.Size = new System.Drawing.Size(75, 23);
			button1.TabIndex = 8;
			button1.Text = "移动角色";
			button1.UseVisualStyleBackColor = true;
			button1.Click += new System.EventHandler(button1_Click);
			checkBox1.AutoSize = true;
			checkBox1.Location = new System.Drawing.Point(516, 228);
			checkBox1.Name = "checkBox1";
			checkBox1.Size = new System.Drawing.Size(72, 16);
			checkBox1.TabIndex = 9;
			checkBox1.Text = "自动攻击";
			checkBox1.UseVisualStyleBackColor = true;
			checkBox1.CheckedChanged += new System.EventHandler(checkBox1_CheckedChanged);
			checkBox2.AutoSize = true;
			checkBox2.Location = new System.Drawing.Point(516, 250);
			checkBox2.Name = "checkBox2";
			checkBox2.Size = new System.Drawing.Size(72, 16);
			checkBox2.TabIndex = 10;
			checkBox2.Text = "自动补给";
			checkBox2.UseVisualStyleBackColor = true;
			checkBox2.CheckedChanged += new System.EventHandler(checkBox2_CheckedChanged);
			checkBox3.AutoSize = true;
			checkBox3.Location = new System.Drawing.Point(516, 272);
			checkBox3.Name = "checkBox3";
			checkBox3.Size = new System.Drawing.Size(72, 16);
			checkBox3.TabIndex = 11;
			checkBox3.Text = "自动喊话";
			checkBox3.UseVisualStyleBackColor = true;
			checkBox3.CheckedChanged += new System.EventHandler(checkBox3_CheckedChanged);
			textBox4.Location = new System.Drawing.Point(586, 114);
			textBox4.Name = "textBox4";
			textBox4.Size = new System.Drawing.Size(126, 21);
			textBox4.TabIndex = 12;
			button2.Location = new System.Drawing.Point(635, 141);
			button2.Name = "button2";
			button2.Size = new System.Drawing.Size(77, 23);
			button2.TabIndex = 13;
			button2.Text = "自动喊话";
			button2.UseVisualStyleBackColor = true;
			button2.Click += new System.EventHandler(button2_Click);
			label4.AutoSize = true;
			label4.Location = new System.Drawing.Point(520, 95);
			label4.Name = "label4";
			label4.Size = new System.Drawing.Size(77, 12);
			label4.TabIndex = 14;
			label4.Text = "自动喊话内容";
			label5.AutoSize = true;
			label5.ForeColor = System.Drawing.Color.Red;
			label5.Location = new System.Drawing.Point(520, 302);
			label5.Name = "label5";
			label5.Size = new System.Drawing.Size(29, 12);
			label5.TabIndex = 15;
			label5.Text = "提示";
			label6.AutoSize = true;
			label6.Location = new System.Drawing.Point(611, 188);
			label6.Name = "label6";
			label6.Size = new System.Drawing.Size(65, 12);
			label6.TabIndex = 20;
			label6.Text = "离线武功ID";
			button5.Location = new System.Drawing.Point(622, 235);
			button5.Name = "button5";
			button5.Size = new System.Drawing.Size(90, 23);
			button5.TabIndex = 19;
			button5.Text = "在线转假人";
			button5.UseVisualStyleBackColor = true;
			button5.Click += new System.EventHandler(button5_Click);
			textBox5.Location = new System.Drawing.Point(613, 208);
			textBox5.Name = "textBox5";
			textBox5.Size = new System.Drawing.Size(99, 21);
			textBox5.TabIndex = 18;
			checkBox4.AutoSize = true;
			checkBox4.Location = new System.Drawing.Point(516, 206);
			checkBox4.Name = "checkBox4";
			checkBox4.Size = new System.Drawing.Size(72, 16);
			checkBox4.TabIndex = 21;
			checkBox4.Text = "自动拾取";
			checkBox4.UseVisualStyleBackColor = true;
			checkBox4.CheckedChanged += new System.EventHandler(checkBox4_CheckedChanged);
			checkBox5.AutoSize = true;
			checkBox5.Location = new System.Drawing.Point(516, 184);
			checkBox5.Name = "checkBox5";
			checkBox5.Size = new System.Drawing.Size(72, 16);
			checkBox5.TabIndex = 22;
			checkBox5.Text = "自动清包";
			checkBox5.UseVisualStyleBackColor = true;
			checkBox5.CheckedChanged += new System.EventHandler(checkBox5_CheckedChanged);
			button3.Location = new System.Drawing.Point(522, 141);
			button3.Name = "button3";
			button3.Size = new System.Drawing.Size(77, 23);
			button3.TabIndex = 23;
			button3.Text = "发送聊天";
			button3.UseVisualStyleBackColor = true;
			button3.Click += new System.EventHandler(button3_Click_1);
			comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			comboBox1.FormattingEnabled = true;
			comboBox1.Items.AddRange(new object[3]
			{
				"普通",
				"呐喊",
				"狮子吼"
			});
			comboBox1.Location = new System.Drawing.Point(522, 115);
			comboBox1.Name = "comboBox1";
			comboBox1.Size = new System.Drawing.Size(58, 20);
			comboBox1.TabIndex = 24;
			comboBox1.SelectedIndexChanged += new System.EventHandler(comboBox1_SelectedIndexChanged);
			button4.Location = new System.Drawing.Point(622, 59);
			button4.Name = "button4";
			button4.Size = new System.Drawing.Size(75, 23);
			button4.TabIndex = 25;
			button4.Text = "模拟跑路";
			button4.UseVisualStyleBackColor = true;
			button4.Click += new System.EventHandler(button4_Click);
			button6.Location = new System.Drawing.Point(637, 291);
			button6.Name = "button6";
			button6.Size = new System.Drawing.Size(75, 23);
			button6.TabIndex = 27;
			button6.Text = "一键穿装备";
			button6.UseVisualStyleBackColor = true;
			button6.Click += new System.EventHandler(button6_Click);
			button7.Location = new System.Drawing.Point(524, 351);
			button7.Name = "button7";
			button7.Size = new System.Drawing.Size(75, 23);
			button7.TabIndex = 28;
			button7.Text = "刷新数据";
			button7.UseVisualStyleBackColor = true;
			button7.Click += new System.EventHandler(button7_Click);
			button8.Location = new System.Drawing.Point(637, 322);
			button8.Name = "button8";
			button8.Size = new System.Drawing.Size(75, 23);
			button8.TabIndex = 29;
			button8.Text = "一键脱装备";
			button8.UseVisualStyleBackColor = true;
			button8.Click += new System.EventHandler(button8_Click);
			button9.Location = new System.Drawing.Point(637, 351);
			button9.Name = "button9";
			button9.Size = new System.Drawing.Size(75, 23);
			button9.TabIndex = 30;
			button9.Text = "一键清背包";
			button9.UseVisualStyleBackColor = true;
			button9.Click += new System.EventHandler(button9_Click);
			button10.Location = new System.Drawing.Point(524, 322);
			button10.Name = "button10";
			button10.Size = new System.Drawing.Size(75, 23);
			button10.TabIndex = 31;
			button10.Text = "一键换线";
			button10.UseVisualStyleBackColor = true;
			button10.Click += new System.EventHandler(button10_Click_1);
			listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[13]
			{
				columnHeader1,
				columnHeader2,
				columnHeader3,
				columnHeader4,
				columnHeader5,
				columnHeader6,
				columnHeader7,
				columnHeader8,
				columnHeader9,
				columnHeader10,
				columnHeader11,
				columnHeader12,
				columnHeader13
			});
			listView1.FullRowSelect = true;
			listView1.HideSelection = false;
			listView1.Location = new System.Drawing.Point(12, 9);
			listView1.Name = "listView1";
			listView1.Size = new System.Drawing.Size(498, 365);
			listView1.TabIndex = 26;
			listView1.UseCompatibleStateImageBehavior = false;
			listView1.View = System.Windows.Forms.View.Details;
			listView1.SelectedIndexChanged += new System.EventHandler(listView1_SelectedIndexChanged);
			listView1.MouseClick += new System.Windows.Forms.MouseEventHandler(listView1_MouseClick);
			columnHeader1.Text = "Id";
			columnHeader1.Width = 30;
			columnHeader2.Text = "Userid";
			columnHeader2.Width = 50;
			columnHeader3.Text = "UserName";
			columnHeader4.Text = "Status";
			columnHeader5.Text = "Hp";
			columnHeader6.Text = "Level";
			columnHeader6.Width = 50;
			columnHeader7.Text = "X";
			columnHeader8.Text = "Y";
			columnHeader9.Text = "MapId";
			columnHeader9.Width = 50;
			columnHeader10.Text = "Ip";
			columnHeader11.Text = "local";
			columnHeader12.Text = "Mac";
			columnHeader13.Text = "ping";
			AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			base.ClientSize = new System.Drawing.Size(731, 386);
			base.Controls.Add(button10);
			base.Controls.Add(button9);
			base.Controls.Add(button8);
			base.Controls.Add(button7);
			base.Controls.Add(button6);
			base.Controls.Add(listView1);
			base.Controls.Add(button4);
			base.Controls.Add(comboBox1);
			base.Controls.Add(button3);
			base.Controls.Add(checkBox5);
			base.Controls.Add(checkBox4);
			base.Controls.Add(label6);
			base.Controls.Add(button5);
			base.Controls.Add(textBox5);
			base.Controls.Add(label5);
			base.Controls.Add(label4);
			base.Controls.Add(button2);
			base.Controls.Add(textBox4);
			base.Controls.Add(checkBox3);
			base.Controls.Add(checkBox2);
			base.Controls.Add(checkBox1);
			base.Controls.Add(button1);
			base.Controls.Add(label3);
			base.Controls.Add(label2);
			base.Controls.Add(label1);
			base.Controls.Add(textBox3);
			base.Controls.Add(textBox2);
			base.Controls.Add(textBox1);
			base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
			base.Name = "UserListbot";
			Text = "在线人物列表";
			base.Load += new System.EventHandler(UserListbot_Load);
			ResumeLayout(false);
			PerformLayout();
		}
	}
}
